<%@ page import="fzzl.Recipe" %>



<div class="fieldcontain ${hasErrors(bean: recipeInstance, field: 'recipeCode', 'error')} ">
	<label for="recipeCode">
		<g:message code="recipe.recipeCode.label" default="Recipe Code" />
		
	</label>
	<g:textField name="recipeCode" value="${recipeInstance?.recipeCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: recipeInstance, field: 'recipeName', 'error')} ">
	<label for="recipeName">
		<g:message code="recipe.recipeName.label" default="Recipe Name" />
		
	</label>
	<g:textField name="recipeName" value="${recipeInstance?.recipeName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: recipeInstance, field: 'recipeType', 'error')} required">
	<label for="recipeType">
		<g:message code="recipe.recipeType.label" default="Recipe Type" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="recipeType" name="recipeType.id" from="${fzzl.RecipeType.list()}" optionKey="id" required="" value="${recipeInstance?.recipeType?.id}" class="many-to-one"/>
</div>

